package com.xx.entity;

import org.w3c.dom.Text;

import java.io.Serial;
import java.io.Serializable;
import java.text.DecimalFormat;
import java.util.Date;

public class Shops implements Serializable {
    @Serial
    private static final long serialVersionUID = -2510887533102558537L;

    private int product_id;

    private String product_name;

    private Double price;

    private int stock_quantity;

    private String description;

    public int getProduct_id() {
        return product_id;
    }

    public void setProduct_id(int product_id) {
        this.product_id = product_id;
    }

    public String getProduct_name() {
        return product_name;
    }

    public void setProduct_name(String product_name) {
        this.product_name = product_name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public int getStock_quantity() {
        return stock_quantity;
    }

    public void setStock_quantity(int stock_quantity) {
        this.stock_quantity = stock_quantity;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }


    @Override
    public String toString() {
        return "Shops{" +
                "product_id=" + product_id +
                ", product_name='" + product_name + '\'' +
                ", price=" + price +
                ", stock_quantity=" + stock_quantity +
                ", description='" + description + '\'' +
                '}';
    }
}
